package com.zkj.exception;

import lombok.Data;

/**
 * @author: zhangKaiJun
 * @createTime：2024/8/26
 * @description：
 */
@Data
public class BaseException extends RuntimeException {
    private int errorCode;

    public BaseException(String message) {
        super(message);
    }
    public BaseException(String message, int errorCode) {
        super(message);
        this.errorCode = errorCode;
    }

    public BaseException() {}

}
